package edu.nf.project.entitys.dto.storeOperation;

import edu.nf.project.entitys.entity.storeOperation.convention.dish.Dish;
import edu.nf.project.entitys.entity.storeOperation.convention.operate.CustomerOrderItem;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单项数据传输对象
 */
@Data
@NoArgsConstructor
public class OrderItemDTO {
    /**
     * 订单项信息
     */
    private CustomerOrderItem orderItem;

    /**
     * 菜品信息
     */
    private Dish dish;

    public OrderItemDTO(CustomerOrderItem orderItem, Dish dish) {
        this.orderItem = orderItem;
        this.dish = dish;
    }
} 